/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package batailledesardennes.entities.testTribe;

import batailledesardennes.game.entity.BuildingEntity;
import batailledesardennes.util.geomFloat.Point;
import batailledesardennes.util.geomFloat.Polygon;

/**
 *
 * @author charly
 */
public class EntityFactory {
   private static String imagePath = "batailledesardennes/assets/image/testTribe/";

   public static  BuildingEntity buildWoodCutterHouse() {
      String filePath = imagePath + "woodcutterhut.png";
      Polygon bounds = new Polygon(new Point(-28, 13), new Point(5, -5), new Point(27, 8), new Point(-6, 30));
      Point entry = new Point(14, 16);
      Point offset = new Point(-29, -24);
      BuildingEntity entity = new BuildingEntity(filePath, bounds, entry, offset, Constants.BUILDING_WOODCUTTER_HOUSE);
      return entity;
   }
   // center: 29 24
   // 34-19 > -28, 16
}
